Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 5 - Menu Manager Reference / Menu Manager Functions
Manipulating and Accessing Menu Item Characteristics /


GetMenuItemHierarchicalID

NEW WITH THE APPEARANCE MANAGER

Gets the menu ID of a specified submenu.

pascal OSErr GetMenuItemHierarchicalID (
                     MenuHandle inMenu,
                     SInt16 inItem,
                     SInt16 *outHierID)
inMenu
The handle to the menu structure of the menu item for which you wish to get the submenu's menu ID.
inItem
An integer representing the item number of the menu item for which you wish to get the submenu's menu ID.
outHierID
On output, a pointer to an integer representing the menu ID of the submenu.
function result
A result code; see "Result Codes".
SEE ALSO
"Appearance Manager Gestalt Selector Constants".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998